package com.njym.java.security.admin.mapper;


import com.njym.java.security.admin.entity.UserTeacherMessage;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

/**
 * 
 * 
 * @author lijie
 * @email 717057076@qq.com
 * @date 2019-12-03 09:48:52
 */
public interface UserTeacherMessageMapper extends Mapper<UserTeacherMessage> {
    /**
     * 查询历史消息
     * @param a
     * @param b
     * @return
     */
    List<UserTeacherMessage> queryTeacherHistory(@Param("a") String a, @Param("b") String b);
    int countTeacherHistory(@Param("a") String a, @Param("b") String b);
}
